package com.billy.ohos.loadingstatusview;

import com.billy.ohos.loading.Gloading;
import com.billy.ohos.loadingstatusview.wrapability.adapter.GlobalAdapter;
import ohos.aafwk.ability.AbilityPackage;

/**
 * @author billy.qi
 * @since 19/3/19 15:27
 */
public class MyApplication extends AbilityPackage {
    @Override
    public void onInitialize() {
        super.onInitialize();
        initGloading();
    }

    private void initGloading() {
        Gloading.initDefault(new GlobalAdapter());
    }
}
